package com.k.sshm.cloud.spring.feign.controller;

import com.k.sshm.cloud.spring.feign.client.BaiduClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class BootControl {
    @Autowired
    private BaiduClient baiduClient;

    @GetMapping(value = "/index")
    public String index() {
        return baiduClient.index();
    }
}
